翻訳と辞書
Words near each other
・ Nonconformity to the world
・ Nonconnah Creek
・ Nonconnah, Tennessee
・ Nonconsumption agreements
・ Noncontracting grammar
・ Nonconvex great rhombicosidodecahedron
・ Nonconvex great rhombicuboctahedron
・ Noncototient
・ Noncourt-sur-le-Rongeant
・ Noncovalent solid-phase organic synthesis
・ Noncrossing partition
・ Noncustodial parent
・ Non-violation nullification of benefits
・ Non-Violence (sculpture)
・ Non-violent abortion protests
Non-virtual interface pattern
・ Non-Volatile File System
・ Non-volatile memory
・ Non-volatile random-access memory
・ Non-volcanic passive margins
・ Non-voluntary euthanasia
・ Non-Voters Party
・ Non-voting members of the United States House of Representatives
・ Non-voting stock
・ Non-wage labour costs
・ Non-well-founded set theory
・ Non-wellfounded mereology
・ Non-X histiocytosis
・ Non-zero
・ Non-zero dispersion-shifted fiber


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Non-virtual interface pattern : ウィキペディア英語版
Non-virtual interface pattern
The non-virtual interface pattern (NVI) controls how methods in a base class are overridden. Such methods may be called by clients and overridable methods with core functionality. It is a pattern that is strongly related to the template method pattern. The NVI pattern recognizes the benefits of a non-abstract method invoking the subordinate abstract methods. This level of indirection allows for pre and post operations relative to the abstract operations both immediately and with future unforeseen changes. The NVI pattern can be deployed with very little software production and runtime cost. Many commercial software frameworks employ the NVI pattern.
== Benefits and detriments ==

A design that adheres to this pattern results in a separation of a class interface into two distinct interfaces:
# Client interface: This is the public non-virtual interface
# Subclass interface: This is the private (non-)virtual interface.
With such a structure, the fragile base class interface problem is mitigated. The only detriment is that the code is enlarged a little.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Non-virtual interface pattern」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.